Bayesian-Optimization-Based Offset-Cancellation Technique for Analog Multipliers for Machine-Learning Accelerators