Use Die->addValue and DIEIntegerOne directly when we want to add
a flag. No functional change.
Use addFlag to add the enum class attribute.

This has the side effect of using DW_FORM_flag_present on dwarf4 and above.