[M] Change in libosmocore[master]: add osmo_stats_report_lock api