Set ONNX_USE_LITE_PROTO to ON (Closes: #1126427)
As reported upstream, ONNX is broken when built with ONNX_USE_LITE_PROTO=OFF and when used as a shared lib for PyTorch/ONNXRuntime, see https://github.com/onnx/onnx/issues/6094
After rebuilding ONNXRuntime against this new ONNX, there is no segfault anymore. Regarding Pytorch, it works without rebuilding it.
However, I don't know the implications of using protobuf-lite for ONNX.