[KERNEL32]: Fix build by fixing variables types.