shared: remove duplication in buxton_hashmap_free

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