checkpatch: fix incompatibility with old perl