libmatio: support universal builds

Closes #19285.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>