Revert "Fixed compilation for VS2010/non-C++11 threading code (nullptr is not suited for those arguments are they are integral types, NOT pointers)."

This reverts commit 053f3b7dddf996e8d4f41883b14d7c04993c33d1.