freezer: fix racy usage of try_to_freeze in kswapd