fix Issue 13784 - Wrong code with modulo operation and optimisations ena...

...bled

https://issues.dlang.org/show_bug.cgi?id=13784

This is a critical code gen bug. Please don't delay review/pull.