Constantize AVOption, solve few warnings, patch from flameeyes@gentoo.org aka "the...