add access to sigatomic_begin/end from Julia, to defer interrupts for non-interruptable ccalls (see also issue #2622)
Merge pull request #2759 from stevengj/sigatomic

RFC: access to sigatomic_begin/end in Julia for non-interrupt-safe C calls