Change some byte shifting to _4btol() and swap32() calls.
Change some byte shifting to _4btol() and swap32() calls.

ok hshoexer@

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