[stokesdarcy][couplingdata] Fix deprecation warning

Merged Kilian Weishaupt requested to merge cleanup/fix-depr-warning-stokesdarcy into master

Merge request reports