nrpe: fix system openssl linkage

Closes #35024.