Magnetization of superconducting RuSr2GdCu2O8 and of concurrent phases