avcodec/avcodec: Move AV_ER_* and FF_COMPLIANCE_* to defs.h

They are also frequently used in libavformat.
This change does not cause any breakage as avcodec.h
includes defs.h.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
