Fix segfault when seeking unseekable stream