i#1551 port to ARM: fix ARM release-build warnings

Fixes several warnings that show up in ARM release builds.

Review-URL: https://codereview.appspot.com/184580043