Frees strings returned from lib_mlx_* functions.
void lib_mlx_free(ffi.Pointer<ffi.Void> ptr) { return _lib_mlx_free(ptr); }