wafsamba: move compiler / cflags related stuff from lib/replace to wafsamba