49ers could stay local with Stanford tight end Zach Ertz or Cal receiver Keenan Allen.