can: m_can: is_lec_err(): clean up LEC error handling