clang fixes and cleanups
more hdr refactoring in mrpt/base&opengl