Abundance Gradients and the Role of Supernovae in M87