Constraining the generalized uncertainty principle with cold atoms