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

This reverts commit df4607e62c2d3e07db8dd29aafa1d32bace05bcd.