Avoid crash on "return 2"

I wanted to report this months ago before the pyflakes repository got deleted.

Note that I'm not sure if this is the right way to do this. I guess `compile()` doesn't catch this because pyflakes is using `ast.PyCF_ONLY_AST` mode.