extend -smp parsing to include cores= and threads= options