Simplify page size query logic on Darwin