49ers hope Bosa’s injury isn’t long term after his absence contributed to a 4th-quarter collapse