subversion: improve build time (use deparallelize only when necessary)

Use ``ENV.deparallelize`` only when necessary (if built with Java)

Greatly improves build time on most systems and does not trigger #20415.