Shell has revealed a surge in quarterly profits on the back of the Middle East conflict but also given an update on costly war damage to its output.