Add support for deterministic DSA signing am: 87d6acee83

Original change: https://android-review.googlesource.com/c/platform/tools/apksig/+/1666084

Change-Id: Ib6377e3496ec6d56178e7172929f2b5add0de468