SN Williams’ game-winning layup ruled an offensive foul to seal Knicks win