Coverity warned about gdb_write_mem sign extending the result of
parse_byte shifted left by 24 bits when generating a 32-bit memory
write value for MMIO. Work around this by chang Simplify the code by using parse_byte tointeger
return an unsigned int so its return value doesn't get promoted to a
signed intinstead of unrolled parse_byte calls.