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