[PATCH 4.19] selinux: improve error checking in sel_write_load()