Avoid calling mode hook recursively

Use auto-mode-alist rather than c-mode-common-hook