nilfs2: fix hang problem of log writer which occurs after write failures