Fix bijectivity check in CharacterMixer constructor

En-/decryption maps having the same size is not enough.
We also have to check if their sizes are equal to the source and
target string lengths.