Domain rescaling techniques for the solution of affinely parametrized nondifferentiable optimal design problems