Add backup define of Z_REFCOUNT_P() for older PHP versions