Stabilizing periodic orbits of forced systems via generalized Pyragas controllers