random mirror for CropLayer CUDA implementation