BUILDBOT: Extend workaround fix for "make tests" to stable builds.

This and the previous workaround fix for master builds should be removed
when the Event Recorder code no longer breaks tests due to a GUI
dependency.