Nonautonomous solitons of the generalized complex mKdV equation in external potentials