samples: drivers: CAN: Switch to new GPIO API
samples: drivers: CAN: Switch to new GPIO API

Switched from deprecated gpio_pin_write to gpio_pin_set and also add the
LED GPIO flags to the gpio configuration.

Signed-off-by: Karsten Koenig <9871d5f9f33c7082866c34a25eef2f8270ae0185@gmail.com>

zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,Vudentz/zephyr,finikorg/zephyr,Vudentz/zephyr,Vudentz/zephyr,Vudentz/zephyr,nashif/zephyr,nashif/zephyr,nashif/zephyr,galak/zephyr,galak/zephyr,finikorg/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,nashif/zephyr,finikorg/zephyr,galak/zephyr,finikorg/zephyr