[PATCH 4.9 38/78] xfs: fix rmap key and record comparison functions