[PATCH 4.14 174/190] sparc32: fix register window handling in genregs32_[gs]et()