avconv: Use more precise deprecation ifdefs