Time discretisation and rate of convergence for the optimal control of continuous-time stochastic systems with delay