[point_iterator] fix errors and warnings for g++ and clang++ with C++11 enabled