[localization] safeguard to avoid match with images having 0 3d points
[localization] safeguard to avoid match with images having 0 3d points

poparteu/openMVG#5

poparteu/openMVG,poparteu/openMVG,poparteu/openMVG,poparteu/openMVG