Fix alpha handling for 10 bpc formats.