rtlib/gfxlib2: Don't pass NULL to _beginthreadex()'s last parameter

because despite what MSDN says, that causes _beginthreadex() to fail
on Windows 9x.

http://www.freebasic.net/forum/viewtopic.php?f=6&t=20782