tests: use pyflakes module instead of pyflakes executable
This ensures that pyflakes is run under the correct Python version.
This instance will be upgraded to Heptapod 17.11.0rc1 on 2025-04-24 between 17:00 and 18:00 UTC+2
This ensures that pyflakes is run under the correct Python version.