Fix ARMGlobalMerge pass to check if globals are entirely within range.