Olympic gold medallist Katherine Grainger, who has come out of retirement, took part in the British rowing team trials in her first competition since London 2012.