Fix memory backend to cast returned value correctly

Current code is casting the returned db object in get_value to
a Hashmap*, this commit rectifies that by casting to BuxtonData*

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