External control of the direction of magnetization in ferromagnetic InMnAs/GaSb heterostructures