Ninja: Fix Fortran module deps in files INCLUDEd by preprocessed sources

If a preprocessed source also uses the Fortran `INCLUDE` directive,
search the original source file's directory.

Fixes: #25792
6 files changed