obexd/pbap: Fix hanging when maxlistcount = 0

vobject_list_get_next_header shall only attempt to call
g_obex_apparam_encode otherwise it will just keep adding the same tag
in a loop.
1 file changed