remove magit-define-command, magit-define-inserter which is nolonger exist

use defun instead magit-define-command and magit-define-inserter