Computing LZ77 in Run-Compressed Space