scilib/xbblocks.py: fix corner case handling bug

Reported by Maïca Clavel and collaborators of the Laboratoire AstroParticule
et Cosmologie, Université Paris Diderot. They say that the previous code will
crash if there are no events in the first two GTIs of an observation.