MFC r355108 and r355170:
Fix panic when loading kernel modules before root file system is mounted.
Make sure the rootvnode is always NULL checked.
Differential Revision:	https://reviews.freebsd.org/D22545
PR:		241639
Sponsored by:	Mellanox Technologies