Pass pointer to head of list when doing pairsort in perl_store_vps Fixes #852