[PATCH 6.1 508/634] drm/mgag200: Fix big-endian support