ohos: move makeMemoizingSupplier() to qohosutils.h


The memoizing supplier is a generic helper, but it is private to
qohosmimedata.cpp, so no other part of the plugin can use it. Move it
to qohosutils.h, next to the other supplier and consumer helpers.

Task-number: QTBUG-149732
Pick-to: 6.12
Change-Id: I01f4ca6076d2c3e4be0c7a8491e2d97c4b91f62f
Reviewed-by: SanthoshKumar Selvaraj <santhosh.kumar.selvaraj@qt.io>
Reviewed-by: Zbigniew Chyla <zbigniew.chyla@qt.io>
commite223b9efdb3f03fcc627437f8bae81cd98b87feb
parentff939da638c5a9dbb03d9e4f0d42e12ae9c2cc53
authorDawid Śliwa <dawid.sliwa@qt.io>
committerDawid Śliwa <dawid.sliwa@qt.io>
commit timeThu, 22 Oct 2026 01:41:48 +0000