Avoid hardfault when CAN object is destructed.

interrupts have to be disabled(can_irq_free) before we turn off(can_free) the peripheral