Gunmen stormed the headquarters of Libya’s National Oil Corp. in an attack that killed two people, the state-run company said, the latest sign of turmoil in the large oil-producing country at a time when global crude markets are looking for alternatives to Iranian oil.