ninja: defer Fortran errors until generate time
If the user wants to manually run a Fortran compiler that CMake finds, using the Ninja generator shouldn't block that. What Ninja doesn't support is writing out object rules for a language because it can't get the dependencies correct, so error at that point, not when Fortran is requested.
Fixes #14862 (closed).