Nuclear-interaction correction for patient dose calculations in treatment planning of helium-, carbon-, oxygen-, and neon-ion beams