NXP-14640: fix document library gadget pagination when the number of results is unknown

Conflicts:
	nuxeo-social-workspace/nuxeo-social-workspace-gadgets-library/src/main/resources/skin/views/social/bricks/document_list.ftl