x264: improve the formula and update to r2397
x264: update r2397 bottle.