linux-user: Use getcwd syscall directly