libclang: fix a bug in processing invalid arguments, introduced in r201249

Recommit r201346, reverted in r201373.