lcl, win32: use GetTextExtent as suggested in MSDN to get the correct text bounds before use of DrawThemeText() (issue #0021964)

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@41646 4005530d-fff6-0310-9dd1-cebe43e6787f