Cavity quantum optomechanics of ultracold atoms in an optical lattice: Normal-mode splitting