GPI spectroscopy of the mass, age, and metallicity benchmark brown dwarf HD 4747 B