Modules of finite homological dimension with respect to a semidualizing module