isofs: fix access to unallocated memory when reading corrupted filesystem