fix byte ordering in get/set_dword

fixes #20