gmic: small cleanup