GCC warned that the output string would not be nul-terminated if the
input string was too long. Fix this by subtracting 1 from the size
argument, as is done for other `strncpy` calls in the file. (It would
probably be better to avoid `strncpy` entirely, but this is just a
simple fix.)
haze was including both `<switch.h>` and `vapours/types.hpp` which both
define `R_SUCCEEDED` and `R_FAILED`, producing compiler warnings.
The intent is that `vapours/types.hpp` only gets included when targeting
not-Switch and/or not-EL0. But the check didn't account for
Troposphère. Fix that.