Linewidth broadening of a quantum dot coupled to an off-resonant cavity