[PATCH 5.10 499/518] resource: fix region_intersects() vs add_memory_driver_managed()