sm501fb: clear framebuffer memory and palette