A creature's total ability score (including increases gained every 4 levels, but not including bonuses) cannot exceed 18 plus one-fourth its HD.
Gold dragons just got a lot weaker and dumber and downright socially awkward.