Kernels and learning curves for Gaussian process regression on random graphs