CheckIO: fix false negative for a function in a base class not being found, fix false positives and negatives for std::vector operator []