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 189fe645
·mentioned in commit 189fe645