tests/resource_native: Remove a duplicate definition
HACK: common/hashtbl: Always remove bucket->used when bucket->entries is empty

This seems to fix a case of infinite loop that the hash12-test
binary tests for. Needs review by Krisztian.