Fix monitor/generate.py to support macros besides RISCV_FORMAL_COMPRE… …
…SSED/RISCV_FORMAL_ALIGNED_MEM