scripts/coccinelle: improve the coverage of some semantic patches