sapi: Use an interrupt lock for test extension

Ensure to report only once on SMP machines and ensure that the report is
output completely.
tests/smptests: Normal use of test extension
smptests/smpfatal03: Wait for end of test msg