added check for max_input_vars

according to https://processwire.com/talk/topic/8345-deleting-large-number-of-images-silently-fails/ and https://processwire.com/talk/topic/7910-module-fieldtype-image-extra-multi-language/#entry83121