Fix for simulation scripts when exec name is different from its dir name

    * analysis/simulate.avr.in: Added a parameter to find the executable
        within the given directory
    * analysis/simulate.cortex-m0.in: Added a parameter to find the
        executable within the given directory