OCamCalib can calibrate all kinds of cameras. Maybe you can use it and convert the resulting parameters to work with OpenSfM.