crypto: sha512 - Fix byte counter overflow in SHA-512