ENG-4713: Fix @LoadSinglepartitionTable dispatch if legacy hashinator is used

Legacy hashinator hashes numbers and byte arrays differently, so passing the
partitioning parameter as a byte array will result in mispartitioned
transaction. Convert the byte array back to its origin object for hashing
purpose.