qom: Use error_reportf_err() instead of g_printerr() in examples