Update riscv.ac to set CPPFLAGS with fesvr include path

We need to set CPPFLAGS in riscv.ac in addition to configure, since configure is a generated file. This is a followup to commit 4d1c63ea2620dfbf125bef422501d641220b7b11 by @ucbjrl.

This fixes the build on Ubuntu and Mac for me.