kyua: Switch from std::auto_ptr<> to std::unique_ptr<>
A few places were assigning auto_ptr<>s depending on the ownership
handoff. These now use an explicit std::move() as required by
unique_ptr<>.
Reviewed by: ngie, emaste
Differential Revision: https://reviews.freebsd.org/D49790