Simplify getSymbolFlags.

None of the object formats require extra parsing to compute these flags,
so the method cannot fail.