Settings window: Fix support of scanner drivers returning the valid resolution as a tuple instead of an array

Signed-off-by: Jerome Flesch <jflesch@gmail.com>