Add gthread API to get userdata from GThread*
Submitted by Behdad Esfahbod
Link to original bug (#691112)
Description
Useful, to fetch data out of the thread, without having to save both the GThread* and the userdata. Or maybe it's already there and I can't find it?