Fix remaining uncategorized debug/warning messages (catchup in dev)

The initial change was done in stable. After merging it to dev
new code paths required a similar treatment.

Task-number: QTBUG-32253

Change-Id: I745928f28c35ce9c0e601df6e11eb21c9f17ca7a
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>