[PATCH 5.10 467/518] tools/iio: Add memory allocation failure check for trigger_name