Gold finished the first quarter with only a modest gain after giving up most of its early-year strength.