shared: Convert direct/backend to BuxtonHashmap

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
shared: Fix potential double frees in BuxtonHashmap

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>