Nuclear PDF constraints from p+Pb collisions at the LHC