graphics/appleseed: prepare the port for upcoming CMake versions
Rewrite the build logic to not rely on obsolete policies CMP0026
and CMP0043. While at it, limit two macros' action to an active
CMAKE_BUILD_TYPE by removing needless set_property(...) calls.