Treat 'flags' and 'dev_size' in PVs as optional members.

One user did not have these members in his LVM2 layout, and we do not
use them for any purpose so it should be safe to treat them as optional.
Treat 'flags' in LVs as an optional member.
Treat 'flags' in VGs as an optional member.