Support GCC/LLVM stack-smashing protection

Signed-off-by: Denis Denisov <denji0k@gmail.com>