libsysutils: Fix potential overwrites in FrameworkListener + Handle EINTR in read() Bug: 5438357 Change-Id: If7d486dd4fb5666ce16ef36dca5f417da23e0b73