Two volunteer firefighters have been treated for injuries while battling an out-of-control bushfire, with one airlifted to a Perth hospital with serious burns.