Make the ninja pool math correct.

R=scottmg@chromium.org
BUG=

Review URL: https://codereview.chromium.org/17087010

git-svn-id: http://gyp.googlecode.com/svn/trunk@1652 78cadc50-ecff-11dd-a971-7dbc132099af