Australian allrounder Marcus Stoinis has played his last one-day international, retiring from the format to focus on Twenty20 cricket.