sde-build-tools: move strip_wrapper into a separated file and fix bashism

Signed-off-by: Alejandro Mery <amery@geeks.cl>