pbkdf2-sha512-opencl: switch uint64(32)_t to ulong/uint, some other cleanup changes