[S390] merge page_test_dirty and page_clear_dirty