mmapped_ref_iterator: add iterator over a packed-refs file