sched: fix unexpected exit when hiding the bar

When the bar visibility is toggled (e.g. with "i3-msg bar mode toggle"),
sigwaitinfo may be interrupted and causes i3blocks to quit.

To avoid this situation, silently continue on EINTR.

In the meantime, display the corresponding errno message when
sigwaitinfo fails.

Fixes #54