Fix unused variables warnings for QT_NO_BEARERMANAGEMENT

Change-Id: I81a6960db21d562e0c8d1096fd98a49c00c9cd0a