We don't want to risk a later copyoutptr leaking capabilities the
calling thread should not have so clear them when filling in uexterr.
While doing so, record that pointer args were tagged to support
future pretty-printing.
Effort: CHERI upstreaming
Sponsored by: Innovate UK