COMMON: Fix compile errors for String::deleteRange

Default variable was double declared. Moved p incrementation out of the
assigment.