amd64: fix PKRU and swapout interaction
(cherry picked from commit 1e0e335b0f0dbae8ce49307377b23ef3673bd402)