Merge pull request #10825 from Rudolchr/fix_build_with_libfmt-9 MsgHandler: Add a check for libfmt version to fix build with libfmt-9