[MP] Fix some gcc warnings
[MP] Fix some gcc warnings. Improve byte aliasing code
[MP] fix another gcc warning for strict aliasing rules
[MP] Fix gcc overflow warning