avutil: Move library version related macros to version.h

This is a more sensible place for these macros.