v3d: Add support for handling OOM signals from the simulator.