move cuserid() to libcompat, POSIX no longer requires it