The GAPS programme at TNG: XXII. The GIARPS view of the extended helium atmosphere of HD 189733 b accounting for stellar activity