Ben Roberts-Smith offered to turn himself in to police before his dramatic arrest at Sydney airport last week, a court has heard.