common: Make openpgp_oid_to_str more robust.