Test: fix instances.tcl restart_instance abort error.
Fix Solaris compilation due to ctime_r() call.

Introduced in Redis 2.8.10 because of a change in Sentinel.
This closes issue #1837.
Fixed 2.8 build breakage introduced back porting COMMAND.