Add slices-max feature

Certain decoders may break with extremely large numbers of slices, as can
occur with some slice-max-size/mbs settings.

When set, x264 will refuse to create any slices beyond the maximum number,
even if slice-max-size/mbs requires otherwise.