Removing warnings by removing unneeded const keyword

On return of a copy of a primitive datatype like int the const keyword is
not needed and caused warnings on some compilers.

Change-Id: Ifde2367f836478b48f653dce614ac339d704954d

git-svn-id: https://svn.apache.org/repos/asf/etch/trunk@1578904 13f79535-47bb-0310-9956-ffa450edef68