volk: make volk's get_machine thread safe.

Sets a local struct instead of the global while searching. When found, then sets the machine.

This assumes that the pointer assignment is atomic, which it probably is on almost any platform.