Merge pull request #9294 from leoetlino/fix-assert Core: Fix an assertion that mistakenly uses a fmt format string