Currently clang crashes with `-module-file-info` and input file which is not a module Emit error instead of segfaulting. Fix #98365