Remove unnecessary NULL checks from zend_hash

Our memory allocation functions (including the persistent ones)
are infallible, so no need to check for NULL.