The National Anti-Corruption Commission has been asked to investigate how the media were told of Ben Roberts-Smith's arrest ahead of time.