[PATCH 5.17 188/219] gpio: sim: fix setting and getting multiple lines