Adaptive Safe Distance Prediction Using MPC for Bridge Cranes Considering Anti-Swing in Dynamic Environment