Large deviations for some non-standard telegraph processes