Pseudoscalar Cornell potential for a spin-1/2 particle under spin and pseudospin symmetries in 1 + 1 dimension