change sign extension such that we do not rely on >> being an arithmetic shift on signed integers.
change sign extension such that we do not rely on >> being an
arithmetic shift on signed integers.

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