Fix bug in parsing flags in redisvFormatCommand

Because the flags can occur in any order in format string, we can't assume the orders.
In original code, the redisvFormatCommand can process " %#+d" correctly, but can't process "%+#d".
Please check it, thanks very much!