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