fix SM_FIXEDSLCNUM_SLICE bug, add SM_AUTO_SLICE mode

review at: https://rbcommons.com/s/OpenH264/r/179/
1. resolve SM_FIXEDSLCNUM_SLICE issue that the number of slices can't be set
2. add SM_AUTO_SLICE mode. --- the number of slices is decided by the number of threads