Custom modes fixes (got broken by the s/celt_alloc/opus_alloc/)