libkmsxx: Add include of <cerrno.h> to various files