operator<< for std::unique_ptr

For consistency with our usual style there should probably be a `unique_ptr_logging_body.hpp` to hold the implementation.