Bug #9345: fix calculation of axis ordering of CRS

This pull request fix the calculation of axis ordering of a CRS.

Bug:
http://hub.qgis.org/issues/9345