[PATCH 5.1 087/371] selinux: fix empty write to keycreate file