avutil: Move library version related macros to version.h