[PATCH 4.9 122/139] xfs: make sure the rt allocator doesnt run off the end