Strain-driven spin reorientation in magnetite/barium titanate heterostructures