A PAC-Bayesian View of Generalisation for Physics-Informed Machine Learning