[PATCH 6.6 21/28] maple_tree: avoid checking other gaps after getting the largest gap