srd: JTAG/STM32: Factor out dpacc_data_in/out.