Optimize KisToolSelectSimilar for Color Labeled Layers
Before this commit, KisToolSelectSimilar in Color Labeled Layers mode would use the whole image bounds area to calculate the selection. This commit ensures that the areas outside of bounds of the source device are not processed unnecessarily. CCBUG:428441