rtld: mask signals for default read locks
(cherry picked from commit a687683b997c5805ecd6d8278798b7ef00d9908f)