cherry-pick instance-id hashing to fix mysqld server_id string format