Allow selecting a palette entry that is already selected
So you can select the color that you selected previously for an
object that has a different color.
BUG:407774
BACKPORT:krita/4.2
(cherry picked from commit 95ebe47953af853527e1cbdcd05f98d80a58ca56)