fix tautological-pointer-compare

See https://github.com/ethz-asl/opencv2_catkin/pull/10