Use hw.ncpu sysctl on FreeBSD to determine processor count.

Patch by Mike Meyer.

http://code.google.com/p/phantomjs/issues/detail?id=597