Add SocketCAN headers

Add SocketCAN headers to enable build on older Linux systems and
remove obsolete define checks.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>