WL#1247: Error's stream in embedded server

Affects: Server-7.1   —   Status: Assigned   —   Priority: Medium

Normally mysqld writes messages to stdout or stderr.
If we want to log these - mysqld just does freopen(stdout ...).
That's no good for an embedded server where the client often has
his own plans for stderr and stdout :)