CryptoPkg: Add new API to retrieve commonName of X.509 certificate