Calibration of bias and scatter involved in cluster mass measurements using optical weak gravitational lensing