Pierre Gasly set the pace in final F1 practice at the Dutch Grand Prix after most of the session was red flagged following Logan Sargeant's crash.