Changed test-depend to build-depend for release jobs.

The ros buildfarm is not taking test-depends into account when setting up the environment for release builds.