Check if the compiler supports '__attribute__ ((__noreturn__))'

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>