Only perform DynamicTransformCont if at least one parameter is dynamic.
requested to merge robertmaynard/vtk-m:conditionaly_check_for_dynamic_types_in_dispatcher into master
Previously we always ran DynamicTransformCont even if we knew all the types. By checking for Dynamic types first, we save roughly 3% on the binary size.
This also is a good starting point for a redesign of DynamicTransformCont