US basketball survives tough challenge by Australians