Tsallis statistics and generalized uncertainty principle