Phonon-induced dephasing of chromium color centers in diamond