A NULL pointer returned by libclang shouldn't be compared against None.

This fix #299, and probably others.

@tobig: I believe you have checkin access to clang repository. Can you merge fbbab60 to it before I merge this?