Use __traits.d(getAliasThis)

After https://github.com/D-Programming-Language/dmd/pull/2939 is merged, we can simplify the implementations of `std.traits.XXXTypeOf` templates by using `AliasThisTypeOf`.