fix: redis module startup using 'add_constant_long()' causes php shutdown segfault

redis module startup using `add_constant_long()` causes php shutdown segfault on php5.5 zts debug build.
in this pull request I use `zend_declare_class_constant_long()` instead.

not sure this will also do well on php5.2 or lower versions.