mm, memcontrol: move swap charge handling into get_swap_page()