Replace BUF_ string function calls with OPENSSL_ ones