msm: port memtype header from leanKernel-note3