Add hyperthread detection on Mac OS X. #4516
Merge branch 'V8_2_2-branch' into V8_2-branch