altos: Split out arch-specific bits of LCD driver