Former NATO Secretary General Jens Stoltenberg has taken on the role of Norwegian finance minister as part of a cabinet reshuffle.