tests&examples: use sizeof(stack) in thread_create

fixes #1392
tests&examples: apply coding conventions to sizeof
test: remove superfluous stack size defines