Olivier Giroud will only be allowed to leave Arsenal if they can sign another striker, says Arsene Wenger.