Gapless playback not working anymore on FLAC

On Kodi 17.0 (XBIAN 2017.02.24 on a Raspberry Pi 2) the FLAC playback experiences a very short, but audible, gap between tracks.
As far as I can tell, the gap happens at the beginning of the subsequent track.
It happens on FLAC, but not on on MP3, no matter if the files are played from a NAS via Ethernet, from a USB drive or directly from the SD card.
It did not happen on Kodi 16 (on the same distribution and hardware).