avcodec/dnxhdenc: Move allocation out of radix_sort()