Various little coccinelle improvements

Merged Ondřej Surý requested to merge ondrej/coccinelle-improvements into master

Merge request reports