safer _getSubdomain

Note that (tilePoint.x + tilePoint.y) might be negative in some cases (custom CRS with tiled WMS).
Merge pull request #1532 from malexeev/master

Somewhat "safer" _getSubdomain method - now it works even when (tilePoint.x + tilePoint.y) is negative.