A study of the sensitivity of shape measurements to the input parameters of weak-lensing image simulations