parser: Remove useless NULL check
parser: Refactor common code for type checks when ignoring function results
tests: Fix threadcall test to build on win32 (9f3efc61 regression)
pdflib.bi: Add missing #inclib "gdi32"