OpenSDI: Spotting Diffusion-Generated Images in the Open World