Some memory info sysctls that convert page counts to byte counts (sysctl hw.{real,phys,user}mem) will have their values masked to the lower 32 bits under compat32.
They already handle capping their values when running on 32 bits archs, but they should also do so for processes running under compat32.
This could use a helper function to deduplicate a little bit of code, but dunno if worth it...