Linaro GCC 4.9.1: fix compilation warnings

Change-Id: I2a864b957f6fd9ae8775ece156aa80a88fc85988