[Lib] From electrum: small fixups to bip39_is_checksum_valid
[Lib] From electrum: small fixups to bip39_is_checksum_valid

From electrum commit e2eb051eed67d0c8f404fe69d94b28b33f8d6d98

fyookball/electrum,fyookball/electrum,fyookball/electrum