jsmn: Fix segfault
jsmn: Fix segfault

We need to call jsmn_init each time we allocate a new buffer if we
are looping to create a new one because the previous one was too small.

Signed-off-by: Tony Asleson <1ef2d381aa56d512126ddaacc29e68136e4fdf55@redhat.com>

cathay4t/libstoragemgmt,tasleson/libstoragemgmt,tasleson/libstoragemgmt,libstorage/libstoragemgmt,cathay4t/libstoragemgmt,tasleson/libstoragemgmt,libstorage/libstoragemgmt,tasleson/libstoragemgmt,libstorage/libstoragemgmt,libstorage/libstoragemgmt,cathay4t/libstoragemgmt,cathay4t/libstoragemgmt,libstorage/libstoragemgmt,tasleson/libstoragemgmt,cathay4t/libstoragemgmt