fixed Bug #4852: Add allLayers function in TMXTiledMap in JSB