explicitly provide memory format when calling to clone() at LinearAlgebra.cpp
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/28661
Test Plan: Imported from OSS
Differential Revision: D18333362
Pulled By: ifedan
fbshipit-source-id: dcb7a1c63473415654d7a964aa732c8f0d5480ec