Make sure the width/height is large enough in SetOptionEncParamExt

When using 4 downsampled layers, make sure the random width/height
is large enough that the downsampled layers don't have a zero size.

Review at https://rbcommons.com/s/OpenH264/r/881/.