Update types in zend_hash

 * String lengths are size_t
 * Indexes are uint32_t
 * Flags are uint32_t
 * Booleans are zend_bool
Remove always-true comparisons