Upgrade panicwrap to use Monitor where possible

This lets signal handling continue to work correctly,
which is a significant advantage for running golang processes
under supervision.