[PATCH 4.19 245/350] tools/iio: Add memory allocation failure check for trigger_name