shadow: fix newer glibc crypt()'s handling of an invalid seed