Study of the thermal and nonthermal emission components in M31: the Sardinia Radio Telescope view at 6.6 GHz