Queue length asymptotics for generalized max-weight scheduling in the presence of heavy-tailed traffic