BUG-6972: inline copy operation modifications
Copy operations is really internal to StatementContextBase hence
all the work of setting state can be done in the constructor.
This allows us to make some of the state final. While it does not
help the footprint issue, it is a stepping-stone to defining a
proper set of copy operations.
Change-Id: I0586ecb0757a3126b9e4ed3dbd0ea6c5a2547544
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
e807a055a1f878b4e0fd74d5763caaa7ab16a8c7)