fbdev: atafb - add palette register check