[OS X] Fix memory scribble.

The buffer being allocated for use with sysctl was not the right
size and so it would trash the memory after the end of the buffer.

Fixes issue #433.
Merge pull request #437 from waywardmonkeys/fix-433

[OS X] Fix memory scribble.
nice catch, thanks!