advfs: NetBSD defines _KERNEL, not KERNEL
advfs: Add guards against #pragma ident