makewhatis(8): replace mdoc(7) OS text macros
sysctl.3: Remove useless .Ns and use .Vt for types.
sed(1): Per the resolution of POSIX bug 0000779 (note 0002050) add
support for using 'i' as a case insensitive flag.

Obtained-from:   FreeBSD r259132