fixed a bug in devread(); extend byte_offset to 64-bit.(issue 194)
allow user to change default variable_base_addr