lavc/h264_slice: use sps directly when checking for invalid 8x8 inference