split up large Lapacke LLT macro
Reference issue
Came across this when working on !731 (closed)
What does this implement/fix?
Currently, the binding of LLT to Lapacke is done using a large macro. This factors out a large part of the functionality of the macro and implement them explicitly. This results in an increase in line count, though if you take away the number of new comment or blank lines I think the change is marginal.
Additional information
On my system, with both liblapacke and liblapacke64 some tests fail. They also fail without the changes here, though.