PyFlakes: fix handling of syntax error