[PATCH 6.6.y] mm: refactor map_deny_write_exec()