Improve support for ltrim negative start indices

Change-Id: I4442379184c5a26cea246bab4fe211587b03ff9f
Reviewed-on: https://gerrit.causes.com/33215
Reviewed-by: Shane da Silva <shane@causes.com>
Tested-by: Shane da Silva <shane@causes.com>