alpha: add io{read,write}{16,32}be functions