mm: add page_swap_info() method

This introduces a piece of f981c59... ("mm: methods for teaching
filesystems about PG_swapcache pages").  We need this method to
implement early swap discards.