GALLERY: 49ers improve to 4-8 with Gabbert bomb to Smith in OT