Effects of the Cornell-Type Potential on a Position-Dependent Mass System in Kaluza-Klein Theory