WMF: add error handling to plugin initialization


`MFStartup` may fail. When this happens we should not continue to load
the plugin.

Pick-to: 6.12
Change-Id: I340233f3f12615154f4a24cb2d28ff823735195d
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commitaa976352e5d5a3aa8e7e7380521ae024f478882b
parent30ec655a9fb4289f11ac39f5fc7b0365a3e34e68
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 26 Aug 2026 07:36:13 +0000