Remove #pragma GCC diagnostic from csp_if_can.c
Remove #pragma GCC diagnostic from csp_if_can.c

Rewrite the buffer allocation for frame_buf, so that the #pragma GCC diagnosic
can be avoided. This is needed due to a compiler that will not accept these
inside functions.

libcsp/libcsp,libcsp/libcsp