add safety check for bit-reading for headers

add bit reading check for exp-golomb parse.
Review request can be seen via:
https://rbcommons.com/s/OpenH264/r/96/