openocd: remove NULL comparisons with checkpatch [1/2]