Shift of the GZK limit in the cosmic ray spectrum due to a smallest length scale