Precise determination of the Doppler width of a rovibrational absorption line using a comb-locked diode laser