lib/string_helpers: fix not adding strarray to device's resource list
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.18.3 by commit bf29edab0c9ff3d2633b8306a67d04c357e2a385, it was introduced in version v5.17 by commit acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a. For more details please see the references link.