Revert "AssetManager cookies should be int32_t and not void*."

This reverts commit e50125939acd3a4c1194df364788bc462485793c.