h264: prevent an out of array read in decode_nal_units()