`SDKCall` has existing semantics that a `-1` retval indicates null, so use that and writes an empty string to the buffer. Consumers can tell the difference between `""` and `NULL` by checking if the return value is `0` or `-1`.