On the Chemical Abundance of HR 8799 and the Planet c