Expand the result of calc.gmf.ground_motion_fields only if a nontrivial filtering function is passed

In this way the engine (which does not pass a filtering function) does not need to pay the price for the expansion.