49ers coach defends QB against critics