sys/cddl/compat: fixes for opensolaris_misc.c

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>