Fix two conversions of pointers to integer in the GUI.

Use uptr instead of 32bit integers fixes the issue of compiling.
Merge pull request #136 from Sonicadvance1/gui-pointers

Fix two conversions of pointers to integer in the GUI.