New Zealand and Sydney Roosters forward Sonny Bill Williams has been named the Rugby League International Federation player of the year.