swap: scan /proc/swaps before processing waitid() results
Similar to the previous commit, but for /proc/swaps, where the same
logic and rationale applies.
(cherry picked from commit bcce581d65de68cca01c73e1c890e261e72d20af)
Related: #1696178
patch_name: 0214-swap-scan-proc-swaps-before-processing-waitid-result.patch
present_in_specfile: true
location_in_specfile: 214
squash_commits: true