Fix warnings

Fix warnings:
- replace strdup
- comparison between signed and unsigned integer expressions
- replace mkstemp function by tmpfile in osl_test.c
- add a fake member in osl_null structure

Why the osl_textual_sprint and osl_textual_equal functions (file source/extensions/textual.c lines 176 and 308) are disable ?
Can you enable them ?