Don't wrap null arguments

The initialization args creates wrappers for the mutexes even if they were specified as null. This causes NullPointerExceptions with shared libraries that calls those mutexes such as SoftHSM or AET SafeSign.