Fix wrong variable scope in protobuf.js
Fix wrong variable scope in protobuf.js

Change-Id: Ife096ede8ac7a929fb1ae2c7323c79258a0f1d8e
Reviewed-by: Richard Weickelt <320bca71fc381a4a025636043ca86e734e31cf8b@weickelt.de>
Reviewed-by: Christian Kandeler <3aa99dcdd3f0cac61fb81c2a11771c0cc2497607@qt.io>

qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs