Make isBeforeInTranslationUnit consistent in the face of failures to get a valid FileID.

Suggested by Jordan.