A dispersed fringe sensor prototype for the Giant Magellan Telescope