Polynomial IOPs for Memory Consistency Checks in Zero-Knowledge Virtual Machines