Use a NULL pointer for td. Apparently this was never used, so it should be safe. I haven't tested it yet.
Comment out VM_OBJECT_* related macros, as they don't exist on freebsd 9.2
Bring vnops and vfsops in line with FreeBSD 10