AMA warns over looming GP shortage