Cherry-pickle a bunch of fixes:

* errno translation for syscalls
* fix netbsd-5 support
* better error reporting from rump_server
Source for buildrump.sh git rev 9bae07306fb777ad5937b0a5885ba81d446b7ca9