Rename FreeFunction to ItemDestroyFunction

This function was never used to free memory directly, but to destroy an
item when it is removed from the container that owns it.