cmNinjaTargetGenerator: handle object-referencing Fortran modules

Targets only using Fortran modules via `$<TARGET_OBJECTS>` also need a
collation step to be performed. Check for this case and trigger the
collation rule to be added and used.
1 file changed