3c31b3543a lib/intel_wa: Assert on error instead of returning -1