Add apply_to_page_range() which applies a function to a pte range