cstrlen
Expects its argument to be a pointer into the WASM heap memory which refers to a NUL-terminated C-style string encoded as UTF-8.
Returns the length, in bytes, of the string, as for strlen(3). As a special case, if the argument is falsy then it returns null.
Throws if the argument is out of range for wasm.heap8u().