libfreerdp-crypto: add robustness checks for VerifyX509Certificate