Need to use O_RDONLY in solaris sys_lremovexattr().