[PATCH 5.4 318/462] tools/iio: Add memory allocation failure check for trigger_name