[sr-dev] git:master: avposp: use state in searching first avp in avp_copy