For VGPR_32 operand disassembler expects a VGPR register encoded as 0..255 (enum8 src operand). readfirstlane/readline actually has enum9 operand and this change fixes VGPR_32 to VS_32 (enum9 encoding).
For me it was a surprise why the encoding works however. This happens because SIMCCodeEmitter::getMachineOpValue always returns enum9 registry encoding and it is being cut by autogenerated encoder when written to enum8 field. For example v2 has encoding value 258 in enum9 and it becomes 2 when it is being written to a enum8 field.