[PATCH 5.7 321/376] sparc32: fix register window handling in genregs32_[gs]et()