make fanotify_read() restartable across signals