mm: move call to compound_head() in release_pages()