can: flexcan: fix transition from and to freeze mode in chip_{,un}freeze