Downgrade sbt-osgi to 0.9.4, to work around race condition in 0.9.5+
Downgrade sbt-osgi to 0.9.4, to work around race condition in 0.9.5+

Ref: https://github.com/lampepfl/dotty/issues/11604

(cherry picked from commit d3b7db9af036829e417e6a08940d9e4e406cfbf2)
(cherry picked from commit 96650cfbf7003c198e2759bdca4a9a37dac03cad)

dotty-staging/scalatest,dotty-staging/scalatest,dotty-staging/scalatest