UefiCpuPkg/MtrrLib: Avoid running unnecessary code