[SPARC]: Fix length parameter verification in sys_getdomainname().