The Simons Observatory: Gain, bandpass and polarization-angle calibration requirements for B-mode searches