BLD: add support for OpenRISC architecture.  Closes gh-4743.

Thanks to @manuelafm for the patch.