py: Remove last uses of printf from compile; use proper SyntaxError.