[Common] Move function of BigEndian2LittleEndian to utils.h.