The secp256k1_ellswift_xdh API has a data arg that is optional for one
of the hash functions (unused) but required for the other.
This adds a simple check to provide a clear error instead of crashing
due to an out-of-bounds memory access when the user mistakenly provides
data=NULL and selects the xdh_hash_function_prefix() function.
Note: Open to improving the arg description in the API as well. I’m just adding this check because a better error would have saved me a few minutes.