pp_pack.c: Simplify sv length determination in one spot