Fix 'No previous prototype for function' compiler warning

`YDBExtractFileNameWithoutExtension()` function in `YapDatabaseLogging.m` has prototype only when CocoaLumberjack isn't used, so for other case the compiler will issue a warning.