dri/nouveau: Clean up magic numbers in get_rt_format