Improve C style casts detection

Cases where `const` was on the right of asterisk are valid but were not detected
Looking at the testsuite I see that there are actually no tests about "volatile" - probably because it is removed by the tokenizer. Imho one volatile test would be sufficient, but well...