opencl-hmac-sha512: changed typecasts to ARCH_INDEX calls