or1k: Some first work in re-implementing stuff

I started to put some first stuff together, namely adapted Makefiles and the syscalls from libnosys.