Study of jet quenching with isolated-photon plus jet correlations in PbPb and pp collisions at root s(NN)=5.02 TeV