Fix build with GCC 12 (standard attributes in middle of decl-specifiers)
"static Q_REQUIRED_RESULT foo bar()" -> "Q_REQUIRED_RESULT static foo bar()"
"static Q_REQUIRED_RESULT foo bar()" -> "Q_REQUIRED_RESULT static foo bar()"
mentioned in commit 766f72c2
·mentioned in commit 766f72c2