[PATCH 4.19/4.14/4.9/4.4] Smack: fix use-after-free in smk_write_relabel_self()