Dynamic Stability of Axially Loaded Nonlocal Rod on Generalized Pasternak Foundation