Quenching of the magnetic moment of Cr in RCr2Si2 compounds upon filling with carbon