Process for the recovering of chemical compounds from exhausted extinguishing powders