Interplay between reversible and irreversible magnetic phase transitions in polycrystalline Gd 5 Ge 4