fix compile warnings from MSVC
Bug fix: remove redundant increment of parentNode->num_try in searchSMP.
Also take out redundant init of num_try in search().