Fix the reading from a stream of 8 bit integer (Fix ROOT-5381)