Some minor fixes for PETSc dev (locked read only vectors)
Some minor fixes for PETSc dev (locked read only vectors)

live-clones/libadjoint,live-clones/libadjoint,live-clones/libadjoint,live-clones/libadjoint