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

This reverts commit bbf39f23c3d6ccbe455e1caf94d0e30c5ce895cf.