Camshaft gear with bearing