nir/spirv: improve lseek() error handling