9patch2sci fix.

It didn't work properly when border was 1 pixel high/wide.

Change-Id: I890f62e37d7f9ce1fcae81c6a9a72c40f03d66ad
Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>