Implement _SC_NPROCESSORS_ONLN.

This lets std::hardware_concurrency() give a valid return value.
Merge pull request #913 from waywardmonkeys/implement-sc-nprocessors-onln

Implement _SC_NPROCESSORS_ONLN.