Fix the hw.vendor/product sysctls on sparc64, handle the cases where banner-name begins with "SUNW," and make a copy of the platform_type buffer before chopping it up, so other/future users of platform_type dont get a rude shock.
Fix the hw.vendor/product sysctls on sparc64, handle the cases where
banner-name begins with "SUNW," and make a copy of the platform_type buffer
before chopping it up, so other/future users of platform_type dont get a
rude shock.

deraadt asked for this a 100 million years ago before 4.0.
tested by pyr, brad, and kettenis.
ok kettenis@

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