AVOptions: add flags for read/read-only options