Fix cross-vm table access.

Signed-off-by: katlogic <kat@lua.cz>