Make sure we copy out the right amount of data in the various copyout() calls that replace the put_user() calls in the Linux code by using sizeof on the appropriate variables instead of explicit uint32_t/uint64_t types.  Fixes a case where we accidentally copied out only 32 bits of a 64-bit value, uncovered by xf86-video-intel 2.99.909.
Make sure we copy out the right amount of data in the various copyout() calls
that replace the put_user() calls in the Linux code by using sizeof on the
appropriate variables instead of explicit uint32_t/uint64_t types.  Fixes a
case where we accidentally copied out only 32 bits of a 64-bit value,
uncovered by xf86-video-intel 2.99.909.

ok jsg@, matthieu@

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