core: Allow kinds derivings
auto merge of #14053 : FlaPer87/rust/master, r=huonw

This patch allows for using derivings for `kinds` in libcore

r? @alexcrichton