Added checks for valid targets to C4 demolition

Try to catch `target == null` cases as described in https://github.com/OpenRA/OpenRA/issues/4975#issuecomment-39081921