thread.c: no function callsin RARRAY_LEN

* ext/thread/thread.c (queue_length, queue_num_waiting): avoid
  function calls in RARRAY_LEN macro which evaluates the argument
  multiple times.

* ext/thread/thread.c (rb_szqueue_num_waiting): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-11-08

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e