checkpatch: Fix newline detection in error_setg() & friends