PiOS CAN: only define methods for FreeRTOS

Since the method returns a xQueueHandle, it only makes
sense to use with FreeRTOS. The bootloader does not
have this and crashes.