fn resize_memory_inner( memory: &mut SharedMemory, gas: &mut Gas, new_size: usize, ) -> InstructionResult