model_diagnostics.m: adapt logic of using block information

Merged Johannes Pfeifer requested to merge JohannesPfeifer/dynare:block_model_diagnostics into master

Only iterate over blocks if they are really used due to block information now always being present

Merge request reports