[PATCH] uml console channels: fix the API of console_write