simplifying the implementation of: EncodeFixed32, EncodeFiexed64, EncodeVarint32

let me know if any problem
These loops were probably originally unrolled intentionally as part of a micro optimization.

I doubt you'll get this change committed.