unarr: fix some GCC warnings