Sale forward Andy Powell is to switch codes this summer and join the Wigan Warriors on a three-year contract.