chflags(1): Fix -f option
PR: 276723
(cherry picked from commit fae467c2212ced8e82f5fa385d316445c8874941)