More doctors becoming specialists but a shortage of GPs, AIHW report warns