Adapt mcspi_interface lib to mcspi_api lib.