[java] minor
Use 1-based column numbers when generating position strings (closes #3289)