tests: sstables: move code to be reused for other components
tests: sstables: move code to be reused for other components

Also, semaphore was removed because it's useless there.

Signed-off-by: Raphael S. Carvalho <1e2942cea40e3b4d2162dfcd9e53e41c05a84d22@cloudius-systems.com>

dwdm/scylla,senseb/scylla,guiquanz/scylla,rluta/scylla,justintung/scylla,linearregression/scylla,phonkee/scylla,dwdm/scylla,victorbriz/scylla,capturePointer/scylla,justintung/scylla,bowlofstew/scylla,victorbriz/scylla,raphaelsc/scylla,gwicke/scylla,guiquanz/scylla,victorbriz/scylla,wildinto/scylla,avikivity/scylla,tempbottle/scylla,acbellini/scylla,linearregression/scylla,respu/scylla,kjniemi/scylla,duarten/scylla,bowlofstew/scylla,rentongzhang/scylla,rentongzhang/scylla,avikivity/scylla,rentongzhang/scylla,capturePointer/scylla,eklitzke/scylla,glommer/scylla,phonkee/scylla,tempbottle/scylla,glommer/scylla,dwdm/scylla,glommer/scylla,raphaelsc/scylla,aruanruan/scylla,shaunstanislaus/scylla,acbellini/scylla,scylladb/scylla,stamhe/scylla,kangkot/scylla,rluta/scylla,aruanruan/scylla,aruanruan/scylla,stamhe/scylla,eklitzke/scylla,duarten/scylla,guiquanz/scylla,asias/scylla,shaunstanislaus/scylla,stamhe/scylla,tempbottle/scylla,kjniemi/scylla,shaunstanislaus/scylla,linearregression/scylla,kjniemi/scylla,asias/scylla,capturePointer/scylla,rluta/scylla,respu/scylla,eklitzke/scylla,phonkee/scylla,asias/scylla,respu/scylla,acbellini/scylla,gwicke/scylla,avikivity/scylla,senseb/scylla,bowlofstew/scylla,scylladb/scylla,scylladb/scylla,senseb/scylla,kangkot/scylla,gwicke/scylla,justintung/scylla,duarten/scylla,raphaelsc/scylla,scylladb/scylla,wildinto/scylla,wildinto/scylla,kangkot/scylla