Fix the detection of alpha-channel in textures as created by IMG_Load 

This fixes the textures (including the mouse's) loading under Mac OS X. I also think it's a more correct way to do it.

Thanks for considering, cheers,

OdyX