avcoec/snowenc: silence some deprecation warnings