[media] lirc_dev: use LIRC_CAN_REC() define to check if the device can receive