Fix false positive of `const int k = 42; foo(k);` with C++11.

Strange that `const int k = 42; foo(k);` was corrected detected in C but not in C++11.