Ground states for fractional magnetic operators