[PATCH 6.0 357/862] drm/format-helper: Fix test on big endian architectures