[mips] Add MipsOptionRecord abstraction and use it to implement .reginfo/.MIPS.options