riscv: Use $MAX_SMP in unittests.cfg

MAX_SMP is set by scripts/runtime.bash to _NPROCESSORS_ONLN. This
ensures we don't oversubscribe VCPUs when running with KVM where
it isn't recommended to do so. Use MAX_SMP in unittests.cfg, like
Arm does. Users may override by setting MAX_SMP themselves, e.g.

  $ MAX_SMP=16 ./run_tests.sh

Signed-off-by: Andrew Jones <andrew.jones@linux.dev>
diff --git a/riscv/unittests.cfg b/riscv/unittests.cfg
index 50c67e3..cbd36bf 100644
--- a/riscv/unittests.cfg
+++ b/riscv/unittests.cfg
@@ -9,7 +9,7 @@
 
 [selftest]
 file = selftest.flat
-smp = 16
+smp = $MAX_SMP
 extra_params = -append 'foo bar baz'
 groups = selftest