Supplemental fix for Issue 9199 - Module level qualified functions should be rejected

`inout` had qualified the function itself, rather than its return type.

When I fixed issue 9317 (by #1073), I had accidentally stepped on the bug 9199.
By this, a compiler fix https://github.com/D-Programming-Language/dmd/pull/1400 now fails in auto-tester.