Bug 898810 - Use bionic's getline where available, r=benwa