Fix potential crash in HttpDataSource:seekToOffset