[PATCH 1/1] mkimage: simplify fit_check_params()