RegSelLUT: enable thread checker and related fixes
Enable the static thread checker and remove unnecessary static variables that created a thread-safety warning.
cc @sutt
Enable the static thread checker and remove unnecessary static variables that created a thread-safety warning.
cc @sutt