avcodec/takdec: Fix runtime error: left shift of negative value -360