[PATCH 5.18 806/879] lib/string_helpers: fix not adding strarray to devices resource list