lib: trusty: Destroy mapped iovs on device reset

The tipc virtio device has a reuse_mapped setting
where buffers mapped in from non-secure can be
reused across multiple messages to avoid unnecessary
remaps. Free any left over buffers on device reset
so we do not leak any resources.

Bug: 280887032
Change-Id: If7f6e8eb1ffc07ba1fb3b6d96b91f1d7d09ee602
3 files changed