Update imagemagick.js

result['geometry'] can be undefined. so It should be checked.