jq: fix HEAD

HEAD does not compile on Snow Leopard, but may work on newer versions of OS X

Closes #23166.