- adapt patch from Reini Urban to fix failing RV under 5.10 and 5.11. AV
and HV were pushed directly onto the pending_array, and not the RV,
which caused #33530. So he rewrote the logic to deref the RV inside
the array traversal. Applied this with one small omission, which
caused test faiures.
- Fixed 5.11 RV/IV logic. (Thanx Reini Urban!)
- Removed one duplicate total_size arrayref test. (Thanx Reini Urban!)
- changed //printf to dbg_printf() (Thanx Reini again!)