One-loop splitting amplitudes in gauge theory