[PATCH] core: Move OSMO_DEPRECATED to new core/defs.h file