dtrace tests: Fix loading of the test kernel module
The old way is racy and can cause two instances, running in parallel, to
attempt to load dtrace_test, and only one will succeed. This caused
errors when running dtrace tests in parallel.
MFC after: 1 week
(cherry picked from commit cb6b5e8ab9cfe3938855826fa3de0f58dacd364e)