Fix VBV
Fix VBV with true VFR streams
x264asm: warn when inappropriate instruction used in function with specified cpuflags
Fix inappropriate instruction use
Fix few clang -Wunused-* warnings
Shut up clang -Wuninitialized warning
Shut up gcc -Wuninitialized warnings
Support case-independent string options
checkasm: Serialize read_time() calls on x86

Improves the accuracy of benchmarks, especially in short functions.

To quote the Intel 64 and IA-32 Architectures Software Developer's Manual:
"The RDTSC instruction is not a serializing instruction. It does not necessarily
wait until all previous instructions have been executed before reading the counter.
Similarly, subsequent instructions may begin execution before the read operation
is performed. If software requires RDTSC to be executed only after all previous
instructions have completed locally, it can either use RDTSCP (if the processor
supports that instruction) or execute the sequence LFENCE;RDTSC."

RDTSCP would accomplish the same task, but it's only available since Nehalem.

This change makes SSE2 a requirement to run checkasm.
x86: AVX2 high bit-depth var_16x16

40->27 cycles on Haswell.
libx264 API usage example
Safety check against malicious high bit-depth input which could cause crash
Audio support

And some other old l-smash base functions
1. configure: Add --disable-* option for audio encoders
2. always use strict=-2 for aac
3. assume channels = 2 when can't get them
4. Skip useless lavr check when lavf is not available
5. Add --chpl-with-bom option
Add an option to use r2204 style progress indicator
Add back "touhou" tune
Utilize internal threading in lavf/ffms
Auto VBV settings
Log file
Encoding time
Level force