Update applemidi.c

Initialize sockaddr_in variable to clear sin_zero field to avoid undifined behavior.
Socket system call's return is validated before the call of bind.