Fix object_get_index_in_parent for elm_items.

Fix for: elm_gengrid, elm_toolbar, elm_menu, elm_list, elm_index