rtld: style the rest of rtld_lock.c
(cherry picked from commit 7444f54bd326780ffafc0fec8ef49cad3e13baef)