gntdev warning fixes

From: Demi Marie Obenour
Date: Fri Jul 08 2022 - 12:38:14 EST


The recent gntdev fixes introduced two incorrect WARN_ON()s, which
triggered immediately on my system. Patches for master and all
supported stable versions follow.