A bundle trust-region algorithm for nonsmooth nonconvex constrained optimization