Remove element_with_hash() helper function
Remove element_with_hash() helper function

The functionality of element_with_hash() is provided by avl_find(), so
use this function instead.

waysome/libreset,waysome/libreset