fix sign extension problem when writing to pciraw. example from debugging, now removed: writep(3, 8000 [0080], 2, 0x52) devpnp: got16 ffffff80