Fix some netbsd-specific things to make this driver work in OpenBSD.
Fix some netbsd-specific things to make this driver work in OpenBSD.

ok bmercer@, patrick@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars