contrib/harfbuzz: fix OSAtomic calls for AArch64
flac: fix encoder enum type

In fact both enums will have identical value (0 as first enum in the list). But
this can break if the header change.