Fix GH-16959: snmpget modifies the `object_id` (as array). Instead of modifying the zval, we use the zend_try_get_string. close GH-16969