Fix more "ignore return value" warnings from gcc 4.3.