osutil: make executable func actually work on darwin
osutil: make executable func actually work on darwin

The existing code for getting the path of an executable for darwin,
with the sysctl API, does not seem like it ever worked, since the
syscall returns a list of NULL separated items, and we were using all of
it, instead of just the first element.

camlistore/go4