[PATCH 5.19 113/158] asm-generic: sections: refactor memory_intersects