Erlang NIF for UUID generation