Panthers agree to terms with XFL QB P.J. Walker