[OS-BUILD PATCHv3 7/24] redhat/Makefile: Move BUILD_PROFILE to Makefile.variables