Use accessors for getting and setting PyGPointer fields

Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
setting the pointer field. This is preliminary cleanup work for supporting
fundamental types.

https://bugzilla.gnome.org/show_bug.cgi?id=631901