Support for \DefineGraphicExtensions and fallback image extensions