SMM: add guard and include types.h in cpu/x86/smm.h