(bugfix): Fix stroke gradient parsing for colors with parens

When specifying a gradient where the color stops are colors in
formats where parentheses are used, like rgb(), the parsing needs
to handle the multiple levels of parentheses, for both the
gradient itself, and the color stops that it's made up of.