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