target-mips: add Unified Hosting Interface (UHI) support

Add SDBBP-based Unified Hosting Interface (UHI) which is deactivated by default.
When activated, the SDBBP instruction with cause field equal to 1 calls one of
the UHI operations instead of causing a debug exception. Arguments for UHI
operations are passed via general purpose registers:
In:  $25 operation code, $4-$7 operation arguments
Out: $2-3 operation return values

QEMU command line options for semihosting:
"-semihosting" Activates semihosting.
"-semihosting-arg" Adds string to the argument vector passed to main() in
                   a guest program. Can be used multiple times.
"-semihosting-root" Sets new root for a guest. All paths used by a guest are
                    prepended with this string.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Merge pull request #22 from lalrae/i6400-mips64r6-PRIP4

target-mips: add Unified Hosting Interface (UHI) support

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>