Support passing `Option<&OpaqueStruct>` to C