Security: fix redis-cli buffer overflow.

Thanks to Fakhri Zulkifli for reporting it.

The fix switched to dynamic allocation, copying the final prompt in the
static buffer only at the end.
static long long mstime(void) {
    return ustime()/1000;
 }

static long long mstime(void) {
    return ustime()/1000;
 }
