Add GCC trap and unreachable builtins

Thanks to Charlie Shepherd for the report.