[ONNX] Add type conversion for Pow op inputs (#2589)