X509: Refactor X509_verify() and X509_REQ_verify() for better streamlining