h264: ff_h264_decode_extradata: check buffer args