sgidec: fix an incorrect backport

Signed-off-by: Anton Khirnov <anton@khirnov.net>