V4L/DVB: ir-nec-decoder: Reimplement the entire decoder