Fixed bugs in stdout_cb/stderr_cb callbacks on Windows
Fixed bugs in stdout_cb/stderr_cb callbacks on Windows

The first parameter of the callback is supposed to be the handle (STDOUT
or STDERR), not the Proc::Reliable object.  This was unnoticed because
none of the users of stdout_cb/stderr_cb on Windows are using that
parameter.

The callback would be activated one time more than necessary, with empty
text, due to line splitting regex matching on \z (zero-width end of
string).

Change-Id: Iccadc4ece285162f3cc7a2b764a694484929ceb0
Reviewed-by: Kalle Lehtonen <d0f4e666f912516036887a48f8b9d9fc5a6f6350@nokia.com>
Reviewed-by: Toby Tomkins <23ead35e36f9890dd80f47acf9947179b1bd7fe7@nokia.com>
Reviewed-by: Jyri Tahtela <f4a6700497ee4baf1b609e02c6d9f260ad39b761@nokia.com>
Reviewed-by: Sergio Ahumada <27ca633ce817d1c3858ceeac3c99febb78411853@nokia.com>

tsarajar/qtqa,tsarajar/qtqa,tsarajar/qtqa,tsarajar/qtqa