[PATCH 5.4 07/37] xsk: Simplify detection of empty and full rings