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 8f18ea2f
·mentioned in commit 8f18ea2f