Remove GCC 4.9 warnings, mainly for narrowing conversions and for initialization order.