Ninja: Fix POST_BUILD commands on macOS Frameworks

The condition added by commit v2.8.12~179^2 (OS X: Fix regression
handling frameworks for Ninja, 2013-07-16) for excluding use of
versioning symlinks on macOS Frameworks must match that used for
POST_BUILD selection.  Otherwise we place the POST_BUILD commands after
a symlink step that is never added.

Closes: #16363
1 job for ninja-framework-POST_BUILD
Status Name Job ID Coverage
passed kwrobot-commit-check