Bug fix for hw.machine and hw.machine_arch sysctl's.

For a NULL buffer sysctl needs to return just the length of the buffer.
Merge branch 'bsd-user' of https://github.com/seanbruno/qemu-bsd-user into bsd-user