Aramco raised its dividend despite a retreat in energy prices and lower production, a boost for Saudi Arabia as it faces a widening budget deficit.