get_avp_val() caused crash with int AVP name and string type