Not all devices support GET_DEF, fall back on GET_CUR if so.
Not all devices support GET_DEF, fall back on GET_CUR if so.

Reported and tested kettenis@

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