1161: Add read_as_enum() to LocalRegisterCopy r=ppannuto a=andre-richter I just hit a case where I wanted to use this. I think it makes sense to add? Co-authored-by: Andre Richter <andre.o.richter@gmail.com> Co-authored-by: Pat Pannuto <pat.pannuto@gmail.com>