fix possible overflow in effect wrappers.

Add checks on parameter size field in effect command handlers
to avoid overflow leading to invalid comparison with min allowed
size for command and reply buffers.

Bug: 26347509.
Change-Id: I20e6a9b6de8e5172b957caa1ac9410b9752efa4d
(cherry picked from commit ad1bd92a49d78df6bc6e75bee68c517c1326f3cf)

int32_t EqualizerGetBandFreqRange(EffectContext *pContext, int32_t band, uint32_t *pLow,
 uint32_t *pHi){
 *pLow = bandFreqRange[band][0];
 *pHi  = bandFreqRange[band][1];
 return 0;
}

int32_t EqualizerGetBandFreqRange(EffectContext *pContext, int32_t band, uint32_t *pLow,
 uint32_t *pHi){
 *pLow = bandFreqRange[band][0];
 *pHi  = bandFreqRange[band][1];
 return 0;
}
