common: assignment inside conditional expression
NAL: Define a default constructor for base class to prevent warning
common: c is a char pointer
encoder: use more frame threads when WPP is disabled

Use up to one frame thread per CPU, but cap the frame threads at half the
number of CTU rows.  Any more frame threads than that is generally counter-
productive.