Statistics for Detection of Cross-Correlation between Gravitational Lensing and γ Rays