Apply clang-format on ff_const_reorder.*
Fix an out-of-bound access bug in maxent