8c06dc4209 lib/intel_wa: Assert on error instead of returning -1