Added getThreadId() support for MAC OSX

This addresses the issue raised in this thread.

https://github.com/OpenHFT/Java-Thread-Affinity/issues/4