[PATCH 6.1 717/798] tools/iio: Add memory allocation failure check for trigger_name