Fix itersubclasses to be somewhat more deterministic on Python 3.4.

This change to itersubclasses restores some determinism to it on Python 3.4.  See https://github.com/astropy/astropy/pull/1945#issuecomment-32522217