Implements lowering for enum constants, as well as the struct_field_val, ret_ptr, and ret_load AIR instructions.