pub fn read_version(data: &[u8]) -> Result<u8, ProgramError>
Read the version byte from an account header.