When running the 4.04 kernel the output from /dev/lirc0 contains sequences like space 16777215 space 2030697 pulse 2700 space 800 I. e., after the long space which defines a sync there is a yet another space. This breaks the device semantics, which is a sequence of space/pulse kernel 3.17.4 does not exhibit this behaviour, so somewhere inn between.
I should add that this brakes existing lirc installations. Upstream lirc has a walk-around fix, but a lot of users stays on older version for various reasons.
Filed a somewhat more verbose downstream bug at https://bugzilla.redhat.com/show_bug.cgi?id=1260862
This bug is fixed in (at least) 4.1.6. Closing.