avcodec: do not needlessly set packet size to 0 in avcodec_encode_audio2()