gh-api-paging-links: move noisy lookup inside

Previously the (only) caller did the work of looking up the links in the
response object and then called `gh-api-paging-links' with the result as
only argument. Now `gh-api-paging-links' does the lookup itself and
expects a response object as argument.