Add missing DPADD variables for libpng and libpng_sb
Compute length and thus sb_heaplen correctly.