lavu/opt: add consts where possible