cbs: Always check for bitstream end before reading