Replace deprecated param_dim with n_models

This PR replaces `param_dim`, which was deprecated upstream in `astropy` models, with `n_models`.  The changed classes are `DiscretePRF` and `GaussianPSF`.