swhid & swhtype: Use thiserror instead of anyhow
These two modules are low-level APIs needed by other crates (and in hot loops), so thiserror is more suited to them than anyhow.
These two modules are low-level APIs needed by other crates (and in hot loops), so thiserror is more suited to them than anyhow.