lib: poll_funcs : poll_funcs_context_slot_find can select the wrong slot to replace.