speed improvement for bs58.encode()

With this change, bs58.encode with 32-digit input runs in about 80% the time the previous version took.