This is mistake from our side in documentation. The A matrix has been written as input as it is in Lapack routine, and as it should be because you doesn't change the matrix during the computation.
However, since we introduced the inplace layout translation, the content of A might be reordered before solve, and restored before exiting the function. That is why it is given as an inout parameter in Frotran and the interface doesn't have a const.
Thanks for this remark, I will update the documentation.