cbs_h264: Fix overflow in shifts