CORE/SAI: Fixed SMART_ACTION_SET_EVENT_PHASE, SMART_ACTION_RANDOM_PHASE and SMART_ACTION_RANDOM_PHASE_RANGE parameters validation, the parameters were checked as phase indexes instead of phase masks