replaced sprintf with cv::format in calib3d tests

fixed failure in PR https://github.com/Itseez/opencv/pull/2151