Randy Jackson leaving 'American Idol'