[upstream] Update to gcc-4.9