A Trust-region Method for Nonsmooth Nonconvex Optimization