Add riemann.common/deprecated

A macro which logs a deprecation notice when invoked.