[elm_genlist.c] opensource bug fix