Implement RFC #18

Closes #14309. Extends the ctypes lint to warn when a struct not annotated with
 #[repr(C)] is used in an FFI function.