avcodec/h264_slice: Fix integer overflow with last_poc