advfs: Partly adapt headers for NetBSD