Use accessors for getting and setting PyGBoxed pointers

Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting and setting
the boxed pointer field. This is preliminary cleanup work for supporting
fundamental types.

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