Add tbm_bo_get_flags backend function