Fire-proof silicate coatings with magnesium-containing fire retardant