Centers for a class of generalized quintic polynomial differential systems