avcodec/mdec: Fix runtime error: left shift of negative value -127