Hide MNT_SHARED_WRITES() and MNT_EXTENDED_SHARED() under the #ifdef
_KERNEL braces.  Struct mount is only defined for the kernel build.

Reported and tested by:	andreast
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks