Cleans up sys_stat()

The 9ns path was putting a kref it didn't have (when kmalloc failed), instead
of freeing the t_path, and it wasn't returning -1 on error (always returned 0).

Also cleans up the shared code a bit.
9ns: Error out on ./ namec lookup

Til we have current->dot and current->slash.