UefiCpuPkg: Fix VS2022 NOOPT IA32 build issues

Update to consistently use IS_ALIGNED() to check for page aligned
values instead of & or % operator with EFI_PAGE_SIZE or SIZE_4KB.
Use of % operator is a division operation that introduces use of
intrinsics for VS2022 NOOPT IA32 builds when 64-bit operands are
used.

Change PrevProcessorIndex in GetSmBase() from UINT64 to UINTN
to remove use of intrinsics in VS2022 NOOPT IA32 builds.

Change SmmProfileSize in InitSmmProfileInternal() from UINT64
to UINTN to resolve VS2022 NOOPT IA32 build issues.

Change SmmProfileSize in IsSmmProfileEnabled() from UINT64 to
UINTN to resolve VS2022 NOOPT IA32 build issues.

Change Size parameter in GetSmmProfileData() from UINT64 to
UINTN to resolve VS2022 NOOPT IA32 build issues.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
11 files changed