SI-6967 Fix ClassTag unapply for primitives