barrick gold q2 earns decline, but match expectations