[fix] Fix compiler warning for initialization order with GNU compilers.