drm/nouveau/device: fix changing endianess code to work on older GPUs