vmstate: fix varrays with uint32_t indexes