[PATCH 4.14 33/36] drm/radeon: fix r1xx/r2xx register checker for POT textures