drc: merge Ari64's patch: 11_dealloc_reg_clear_const_flag