A Semiparametric Regression Model for Longitudinal Data with Non-stationary Errors