Norwegian energy giant Statoil posted a slump in second-quarter earnings on Wednesday, as low oil prices continued to weigh on the industry.