gold futures extend rally in electronic trading