Fix 32-bit/64-bit problem in the MySQL password hashing function