Set num_threads by cython openmp call
Created by: DamonLee5
Implement the same modification on setting the number of threads by cython openmp call as svmbir's commit in prerelease branch.
I tested it in the Lilly cluster. All demos work and the num_threads got set correctly.