Preallocate space for the answer in Base58Encode.

Benchmarks show this makes Base58Encode twice as fast.