An Analysis of Safety Guarantees in Multi-Task Bayesian Optimization