fixed #1816 bug of getTileGIDAt in TileMap module
Merge pull request #822 from ShengxiangChen/issue1816_getTileGIDAt

fixed #1816 bug of getTileGIDAt in TileMap module