Extend the CxxMethodDecl.is_const tests.