[PATCH 6.1 562/798] resource: fix region_intersects() vs add_memory_driver_managed()