AWTImageTools: check for negative cIndex

In the axesToXYC method, make sure the cInidex is >= 0 (and thus the
Axis is actually present) before using it is an array index.

Reported by Christian Dietz