properly check pt->flags not pt->flag when setting multiple flags. implement multiple flag set API for msdos partitions. fixes bug 642