Support compatibility with buildbot 2.10.
This removes the deprecation warning and removes the
non-existing method addFactoryArguments (it was not doing
anything anyway for quite some time) which was breaking
the master.
Reviewed By: gkistanova
Differential Revision: https://reviews.llvm.org/D95867