[Minor] cleaned up compiler warnings in BaseEncoding