ir_to_mesa: Fix segfaults on ir_to_mesa invocation after MSVC change.