Remove all compilation warnings from engine's code

Verification:
1. Rebuild all engine projects (without deps) in all configurations.
   There should be only one warning:
   "Aligned.hpp(80): warning C4100: 'p' : unreferenced formal parameter",
   which is a VS compiler bug.
2. Run tests.

Change-Id: I2aca5969d4dcca068e1dcba9ad075026669d9d86