Generalisation under gradient descent via deterministic PAC-Bayes