Use WelsLog instead of fprintf for normal runtime errors
Merge pull request #1474 from mstorsjo/use-proper-logging

Use WelsLog instead of fprintf for normal runtime errors