Add prefixes to header guards

Certain header guards used defines like __TYPE_H__ which are likely
to be shared by other projects or the standard library. Add a
COCKPIT_ prefix to them.

Closes: #201