Fixed a crash in WithVoxelBarrel

Fixes the problem #6914 revealed by https://github.com/OpenRA/OpenRA/pull/6710.
This will break units that have barrels (for recoil) but no rotating turret.