Remove the duplicated definition of const int iProfile when COMPILE_WITH_OPEN_TRANSACTIONS is enabled