Fix warnings in Tizen build

Tizen uses an old G++ version, but doesn't hurt keeping its build
warning free when possible.

Three cases of initialization list ordering mismatch and one case of G++
considering taking 0 as a signed literal and concern about comparing
unsigned (size_t) with signed (the literal).