TINSEL: Fix compilation on FreeBSD with C++-11 enabled.

This is part of bug #3615056 and is due to NULL being defined as
nullptr when C++-11 is enabled, which is not valid being assigned
to a integer value.