Fix remaining bugs in perfdata output for SIReadLocks in check_locks

I left a small bug in perfdata output in my last commit regarding check_locks. Here's a fix.