ksm: check for ERR_PTR from follow_page()