Support both GNU and BSD Tar

Previously, the processing of the DEB package relied on TAR wildcard
functionality that was bsdtar specific.  This change adds additional
support for using gnutar on platforms where that is available.

[#49321993]
Merge 49321993-open-jdk-6 to master

[Completes #49321993]