Correlation effects on the electronic structure of Co2Mn0.5Fe0.5Si and Co2Mn0.5Gd0.5Si quaternary alloys