Former captain Porterfield calls time on Ireland cricket career