vm_object: reformat flags definitions
(cherry picked from commit 34935a6b3723422ef27ce4eb80fbe52c3dab12fc)