misc: Fix GCC warnings

Change-Id: If5d614236f08e67f0de90fb5b2fa3bfc0dc2b72b