[PATCH 5.15 619/691] tools/iio: Add memory allocation failure check for trigger_name