Bug #1450: Illumos should be buildable with GCC4
SMF manifest find should return -1 on allocation failure
At present, the
manifest_find function returns NULL on failure to get thread specific data, despite the function itself returning int. This causes it to "succeed while doing nothing" rather than fail (and modern GCC to warn).