module-rt: check the result of pthread_getschedparam() correctly
pthread_getschedparam() always returns non-negative values, so checking if its return value is less than zero always evaluates to false.
pthread_getschedparam() always returns non-negative values, so checking if its return value is less than zero always evaluates to false.