Force honoring nthreads-var and thread-limit-var inside teams construct on host

This patch fixes, via adding
adjustment of number of threads on enter to the teams construct on host
according to user settings. This allows to pass checks and avoid assertions
at time of team of threads creation.

Patch by Andrey Churbanov

Differential Revision:

git-svn-id: 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed