pkcs15-openpgp: Change error code when we don't want to overwrite non-empty private DO.
pkcs15-openpgp: Change sprintf to snprintf.