Enhancement of forward-angle cross sections in heavy-ion reactions because of projectile excitation