sparc64: add the segment boundary checking to IOMMUs while merging SG entries