Add checks on input/output buffers size for some audio decoders