Mark Gillespie’s impressive return to Test cricket continued as he completed his second five-wicket haul in as many matches, but the strikes did little to rein in South Africa, who declared 30 minutes into the third session