Add missing header guard
remove redundant redefinition of printf
fix licenses
libplatsupport: Remove unused macro.
libplatsupport: Remove unused macros.