Complete RV32 support for Linux (v2)

Changes from prior pull request:
Use unsigned comparison for valid syscall number in entry_32.S