On semilinear perturbations of the Kirchhoff string equation