avcodec/mpegaudiodec_template: Fix multiple runtime error: signed integer overflow