MULE-7773: Fixed the special case when the referenced flow is flowConstr...

...uctAware. This is requiered in 3.3.x, but is better to include it in all branches. The DynamicSubFlowTestCase fails in 3.3.x without this.
if it's not too much effort, then try to use a specific bean name instead of anyString(). If that overcomplicates things then ignore this comment