avcodec/h264_parse: Check picture structure when initializing weight table