common: check if a given rename flag is supported in _require_renameat2