Fix the crash in getCompilerOptionsDiagnostics by not using file name as...

... compiler options do not have file name

Fixes #988
i do not think realizeDiagnosticWithFileName is used anywhere else. if so, please remove it.