[Core] Custom commands now use configured environment variables.

So far custom commands didn't use the environment variables configured in
Project Options -> Run -> General -> Environment Variables.
[Debugger.Gdb] Use configured environment variables.

The gdb debugger so far ignored environment variables in the start information.