Add sha512_block implementation optimized for small register bank.