unpack-trees: rename ERROR_* fields meant for warnings to WARNING_*