harness: Take ownership of floating references (pads, elements) passed to the harness

Without this bindings get confused about the meaning of references, and
we really own these references if they are not already owned by
something else.
3 jobs for harness-floating-references in 7 minutes and 22 seconds (queued for 27 minutes and 34 seconds)