Change motor layout for quad

Hi. I think this problem is actual (e.g. if some motor pwm out was burned), so it’s better to answer late than never.
I found array with output definitions in a platform-specified code (e.g. for fmu-v4), where pwm states are written:


So if I swap some elements in this array, pwm states will be written in another order.
Example can be found here (swap ch2 and ch5 in pixracer, so left rear motor in quad x is connected to aux1, ch2 has an aux1 function): https://github.com/CopterExpress/Firmware/commit/17a3f3e79139ed76cff05b898f41a5728992bcd2