can: mcp251x: fix generation of error frames