The GAPS Programme with HARPS-N at TNG: XVII. Line profile indicators and kernel regression as diagnostics of radial-velocity variations due to stellar activity in solar-like stars