Stop warning on fgets, jq_test.c:42

I think you'll prefer the second simpler version (which I'll think you'll get if you just squash/merge) - but I kept the first, more complex version in so you could see it.

For issue #136