platform.h: fixed clang-analyzer-core.BitwiseShift warnings and adjusted types of *_bit members
#7271
+25
−21