ccanlint: fix SEGV when example has format string.