Fix warnings reported by cpplint.

This CL fixes the warnings reported by cpplint as follows:
1. Add a NOLINT to ignore a 'runtime/references' warning on the code
   that overrides PropertiesAdaptor::on_set_property() exposed by
   dbus-c++.
2. Change the code to use snprintf() instead of strcpy().

BUG=chromium:385849
TEST=Tested the following:
1. `USE='gdmwimax wimax' FEATURES=test emerge-$BOARD platform2`
2. `cpplint.py --filter=-build/header_guard,-build/include_order *.h *.cc`
3. Run platform_WiMaxPresent and platform_WiMaxSmoke test.

Change-Id: I5e692e0342be0606f71ce4ef72331ec3b10653d9
Reviewed-on: https://chromium-review.googlesource.com/204450
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
2 files changed