Inhibit C-d for cc-mode and derived

C-d is bound to custom duplicate-line function but not accessible by
default from cc-mode and derived. This commit unbound C-d for cc-mode,
java-mode and groovy-mode.