backtrace: Add a variant that uses the libosmocore logging framework

I recently discovered that we can only print backtraces to stdout, which
is of course useless in a daemon environment.  We'd rather want to use
the libosmocore logging framework instead.
diff --git a/include/osmocom/core/backtrace.h b/include/osmocom/core/backtrace.h
index 1ed089a..a24290c 100644
--- a/include/osmocom/core/backtrace.h
+++ b/include/osmocom/core/backtrace.h
@@ -2,5 +2,6 @@
 #define _OSMO_BACKTRACE_H_
 
 void osmo_generate_backtrace(void);
+void osmo_log_backtrace(int subsys, int level);
 
 #endif