Make swap_pager_freespace() global
Tested by: pho
(cherry picked from commit baa1ccceefdf4954a88e54ca18c6ab1762faa326)