Molecular Dynamics Study of Glass Formation in Polymer Melts with Varying Chain Stiffness