Yang-Mills ghost propagator in linear covariant gauges