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