Move extract_scale to decimal type

The only type that has a scale is decimal. There's a special case where
decimal columns with 0 scale are type cast to integers if the scale is
not specified. Appears to only affect schema dumping.
Merge pull request #15237 from sgrif/sg-move-extract-scale

Move extract_scale to decimal type