Fix tests/serialize/bug64146.phpt

better to write "key = (zend_ulong)(zend_uintptr_t) Z_COUNTED_P(var);" to avoid warnings on X32 ABI