SymbolDatabase: improved handling of const in function parameters