checkpatch: adapt shell script to the tool's new version