cudamemorycopy: Fix build when gl is disabled