[PATCH 08/21] utils: Add a new warn_deprecated helper