net: net_cls: move cgroupfs classid handling into core