fix: in inq_var, allocate new memory for value and dimensions and copy data from internal arrays into the new arrays. adios_free_varinfo() then frees these new arrays.