x86_64: ssize_t is arch specific, reuse read_pointer_from_buffer_swap()

... instead of read_from_buffer_swap32. The function could be renamed.
found with GCC 4.8.