Fix #10202 (fix crash in graduated symbol renderer)