H264Parser: Fix decoding of SPS

This also tightens up our implementation against the latest H.264 spec.

A BIG thank you to blm-ubunet@slingshot.co.nz for taking the time to read
the spec and compare it to our implementation.

Refs #11435