mpegvideo: Fix undefined negative shifts in mpeg_motion_internal