jmap_mail: pass the total needed to loadn when filling querycache
This fixes a bug where we were asking loadn for just how many MORE
records we wanted rather than how many total, but loadn's API is
to load up to position n.
Signed-off-by: Bron Gondwana <brong@fastmail.fm>