PR7774: Fix undefined shifts in Alpha backend. As a bonus, this actually