Ninja: Fix POST_BUILD commands on macOS Frameworks
The condition added by commit 603bc599 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 (closed)