premake4.lua: only enable "-Wswitch-default" in unittest

There's no need to enforce this flag during the build of the perftest
or the GoogleTest library, as both include third-party code.