Fix bug in bctbx_x509_certificate_get_fingerprint()
The fingerprint was computed using SHA-384 when SHA-512 was required.
(cherry picked from commit 3a0b4d2c)
The fingerprint was computed using SHA-384 when SHA-512 was required.
(cherry picked from commit 3a0b4d2c)