lib/hx509: hx509_request_get_san handle strpool on error