fix rosconsole segfault when using ROSCONSOLE_FORMAT with  (fix #342)

@tfoote @wjwwood Please review.