hooks/prepare-32bit: take into account subpkgs to transform rdeps.

This is not perfect but will work in 90% of existing cases.