Switch to -std=gnu99; improve mpcmd()

    * mpdcmd(): variable for max retry count for connection init: cfg_mpdcmd_retries
    * mpdcmd(): make the connection init+check block faster